Lustre

Created By
Patrick Botkins2 months ago
Premium Flutter UI components for AI coding agents. Gives Claude Code, Cursor, and other MCP-compatible tools access to 46 hand-crafted Flutter widgets with a real design token system. 3 visual themes (Clean, Bold, Glass), full light/dark mode support. Components include navigation, cards, lists, forms, feedback, data display, and complete layout patterns. Every widget is a single self-contained .dart file with zero dependencies beyond Flutter SDK. Install with: npx lustre-mcp
Overview

lustre-mcp
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Lustre MCP Server

MCP server that exposes the Lustre component library to AI coding agents (Claude Code, Cursor, etc.).

What is Lustre?

Lustre is a premium Flutter component library with three beautiful themes:

  • Clean: Subtle borders, soft shadows, modern
  • Bold: Crisp borders, high contrast, confident
  • Glass: Frosted glass surfaces, gradient backgrounds, premium

All 46+ components support light/dark mode and theme switching.

Installation

npm install -g lustre-mcp

Usage

With Claude Code

In claude_code_config.json:

{
  "mcpServers": {
    "lustre": {
      "command": "npx",
      "args": ["lustre-mcp"]
    }
  }
}

With Cursor

Similar setup in .cursor/rules.json or via the Cursor settings panel.

Available Tools

1. lustre_list_components

List all available components with descriptions.

Optional: category filter (navigation, cards, lists, forms, feedback, data_display, surfaces, layout)

2. lustre_search_components

Search for components by description.

Input: query (string) Output: Matching components with names and descriptions

3. lustre_get_component

Get complete Dart source code for a component.

Input:

  • component (string, required) - Component name (e.g., "profile_card")
  • theme (string) - Theme variant: "clean", "bold", or "glass" (default: clean)
  • brightness (string) - Color scheme: "light" or "dark" (default: light)

4. lustre_get_design_tokens

Get design tokens for a theme (colors, typography, spacing).

Input:

  • theme (string) - Theme variant: "clean", "bold", or "glass"
  • brightness (string) - Color scheme: "light" or "dark"

5. lustre_get_layout_pattern

Get a complete page layout with example components.

Input:

  • pattern (string) - Layout type: "settings_page", "profile_page", "dashboard", or "onboarding"
  • theme (string) - Theme variant (default: clean)

6. lustre_setup_theme

Get setup instructions for using Lustre in a Flutter project.

Input:

  • theme (string) - Default theme: "clean", "bold", or "glass"

Pricing

Free Tier:

  • List and search all components
  • Get 15 core components
  • Get design tokens and layout patterns
  • Get setup instructions

Pro Tier ($12/month):

  • All 46+ components
  • All tools, all themes, all features
  • Early access to new components
  • Priority support

Development

# Install dependencies
npm install

# Build TypeScript npm run build

# Run in development mode npm run dev

# Start production server npm start

Component Categories

  • Navigation (5): AppBar, BottomNav, Tabs, Breadcrumb, SegmentedControl
  • Cards (7): Card, InfoCard, ProfileCard, ProductCard, PricingCard, StatCard, TestimonialCard
  • Lists (5): SettingsList, ChatList, ContactList, NotificationList, ActionList
  • Forms (7): TextField, Toggle, Slider, Dropdown, SearchBar, CheckboxGroup, DatePicker
  • Inputs (1): Button (primary, secondary, outline)
  • Feedback (6): Dialog, Snackbar, BottomSheet, LoadingState, Toast, EmptyState
  • Data Display (5): Badge, ProgressBar, ProgressRing, StatCounter, Avatar
  • Surfaces (4): Section, Divider, GlassPane, GradientHeader
  • Layout (6): SettingsPage, ProfilePage, DashboardGrid, OnboardingFlow, ListDetailLayout, AuthPage

License

MIT

Support

Server Config

{
  "mcpServers": {
    "lustre": {
      "command": "npx",
      "args": [
        "lustre-mcp"
      ]
    }
  }
}
Project Info
Created At
2 months ago
Updated At
2 months ago
Author Name
Patrick Botkins
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Bring your real authenticated browser session to AI coding agents. Local-first MCP server + Chrome MV3 extension. No cloud. No telemetry.
@Cubenest

peek records the user's actual logged-in browser (DOM via rrweb, console events, network metadata, optional response bodies via opt-in Deep capture) through a Chrome MV3 extension. The extension ships events through a native-messaging stdio bridge to a local MCP server (peek-mcp), which persists them to a SQLite database at ~/.peek/sessions.db. AI coding agents (Claude Code, Cursor, Cline, Windsurf) read sessions from the database via 10 MCP tools: Tool What it does list_recent_sessions List recently recorded sessions (id, origin, ts, event count). get_session_summary LLM-readable narrative summary of a session. get_session_console_errors Console errors recorded in a session. get_session_network_errors Failed/notable network requests in a session. get_user_action_before_error Last N user actions before a console error. generate_playwright_repro Generate a runnable Playwright test from a session. get_dom_snapshot Reconstruct the DOM at a given timestamp. query_dom_history Timeline of attribute/text changes for a selector. request_authorization Side-panel consent for write actions (Level 3). execute_action Dispatch a UI action (gated by permission level + destructive blocklist). Why local-first matters Every other "browser session for AI" tool ships to a vendor cloud. peek's SQLite + extension live on the user's machine — no remote endpoints, no telemetry. The privacy policy (docs/peek/PRIVACY_POLICY.md) is the source of truth. Install # 1. Add the MCP server to Claude Code claude mcp add peek -- npx -y @peekdev/mcp # 2. Install the Chrome extension from the Chrome Web Store # (link added once the CWS listing is approved)

20 hours ago
Gpt Scrambler

2 days ago